﻿@{
    ViewBag.Title = "Проверка ответов";
    Layout = "~/Views/Shared/_LayoutSuperuser.cshtml";
}

<h2>Проверка ответов</h2>

@using (Html.BeginForm())
{
            <p>
               @Html.Hidden("CompetitionID", ViewData["CompetitionID"])
            </p>
    
            <div class="editor-label">
              Номер вопроса
            </div>
            
            <div class="editor-field">
               @Html.ValidationMessage("QuestionNumber") <br />
               @if (ViewData["QuestionNumber"] == null)
               {
                 @Html.TextBox("QuestNumber")
               }
               else
               {
                 @Html.TextBox("QuestNumber", ViewData["QuestionNumber"])
               }
            </div>
            <div class="editor-label">
              Номер тура
            </div>
            <div class="editor-field">
              @Html.ValidationMessage("TourNumber") <br />
              @Html.TextBox("TNumber", ViewData["TourNumber"])
            </div>
            <p>
              <input type = "submit", value = "Найти" />
            </p>
            <p>
              @Html.ValidationMessage("Answers")
            </p>
  
}
